Summary

This component inserts a link to each published MLC sibling of the current document or its root document. This component is useful in MLC documents only and the text of the links is the language name, translated or not.
Insert links to MLC siblings is similar to the Language dropdown component that fills a dropdown control with sibling languages rather than a set of links. 

Component properties
Category AS MLC
Version 1.0
Complies with Xhtml 1.0 / 1.1 rules Yes
Supported server programming languages C# Visual Basic.NET
Output content type inline

When to use

This component is typically used in a multi language Web site when there is a need for the user to select another language version of a document. 

Programming interface

Parameters

Use root document
Meaningful only if this component is used in an include document. Checking this parameter causes the component to use the document that this document is included in rather that the current document.
Lookup on presentation template
Check this to do an MLC lookup on the presentation template used to present this document or optionally its root document. If you set this parameter the presentation template must be an MLC member or located in an MLC member category.
Lookup referrer
Check this to do an MLC lookup on the referrer document retreived from the component redirect to other document. If you set this parameter the referrer document must be an MLC member or located in an MLC member category.
Link options
EPT field name for target
Available in presentation templates only. Optional name of an EPT field that contains the target for link object ...
Static target
or static target. If both Target and StaticTarget is specified StaticTarget will be ignored. Note: For Xhml 1.0 strict and higher the target attribute is not supported. For these doc types a java script is inserted instead.
EPT field for class name
Available in presentation templates only. The name of an EPT field that contains the class name of the link object ...
Static class
or a static class name. If both Class and StaticClass is specified StaticClass will be ignored.
Attributes for link
Optional attributes for each link element, ex. style="color:green;". The value of this property must either be empty or a valid attribute syntax. If this syntax is invalid an error will be generated.
Link separator
A string that vill be used as a separator between the different links. Default value is a comma followed by a space.
Links on new line
Check this if you would like each one of the links to be on a separate line (i.e. a break will be inserted between each link). If this parameter is set the Separator parameter will be ignored.
Do not display country
Prevent the component from displaying country information. Thus Swedish - Sweden will be Swedish.
Link to current language options
  • No link to self
    Does not display a link to the current language
  • Link to self
    Displays link to the current language
  • Text only
    Displays only the text of the current language, i.e there is no link
Language name translation options
  • Default language name
    Displays the link with the default language name (in English)
  • Translate to current
    Displays the link as translated to the actual document's language. Ex. if the current page is in Swedish and the linked document is in English this will be "Engelska". If no translation is available the default language name is used.
  • Translate to linked
    Displays the link translated to the language of the linked language. Ex. if the current page is in Swedish and the linked document is in English this will be "English". If no translation is available the default language name is used.
  • Combine current and linked
    Displays the link as a combination of the the current and linked alternatives. Ex. if the current document is in Swedish and the linked is in English the link will be visible as "Engelska (English)". If no translation is available the default language name is used.

Remarks

This component requires the MLC (Multi language clustering) functionality in Content Studio.